<!DOCTYPE html>
<html lang="en">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- Meta, title, CSS, favicons, etc. -->
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <title>${_title}</title>

    <!-- Bootstrap core CSS -->

    <link href="${_css}/bootstrap.min.css" rel="stylesheet">

    <link href="${_font}/css/font-awesome.min.css" rel="stylesheet">
    <link href="${_css}/animate.min.css" rel="stylesheet">

    <!-- Custom styling plus plugins -->
    <link href="${_css}/custom.css" rel="stylesheet">

    <script src="${_js}/jquery.min.js"></script>

    <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
          <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
          <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
</head>


<body style="background: #F7F7F7;">
<div class="">
    <div class="row">
        <div class="col-md-12 col-sm-12 col-xs-12">
            <div class="x_panel">
	                <div class="x_title">
	                    <h2>提现结果查询</h2>
	                    <div class="clearfix"></div>
	                </div>
                    <div class="form">
	                    <form class="form-horizontal form-label-left input_mask">
	                    	<div class="col-md-2 col-sm-2 col-xs-6 form-group has-feedback">
	                            <input type="text" class="form-control has-feedback-left" id="code" name="code"
	                            placeholder="请输入提现编号">
	                            <span class="fa fa-user form-control-feedback left" aria-hidden="true"></span>
	                            
	                        </div>     
		                    <div>
		                    	<button type="button" class="btn btn-primary query">查询</button>
		                    </div>  	                                        
	                     </form>
	                     
	                     <form class="form-horizontal form-label-left input_mask">
	                    	<div class="col-md-2 col-sm-2 col-xs-6 form-group has-feedback">
								<textarea id="result" required="required" name="desc" class="form-control col-md-7 col-xs-12" style="margin: 0px; width: 746px; height: 200px;"></textarea>
	                        </div>                     
	                     </form>
                     </div>
                    <div class="clearfix"></div> 
                                 
             </div>
        </div>
    </div>
</div>

                                           
<script src="${_js}/bootstrap.min.js"></script>

<!-- bootstrap progress js -->
<script src="${_js}/progressbar/bootstrap-progressbar.min.js" type="text/javascript"></script>
<script src="${_js}/nicescroll/jquery.nicescroll.min.js" type="text/javascript"></script>

<script src="${_js}/custom.js" type="text/javascript"></script>

<script type="text/javascript">
	$(".query").click(function(){
		var code=$.trim($("#code").val());
		if(code==""){
			alert("请输入提现编号");
			return false;
		}
		$.ajax({
            type: 'POST',
            dataType: 'JSON',
            async:'false',
            url: '/pay/withdraw/result/query',
            data:{no_order:code}, 
            success: function(result){
            	if(result.code==-1){
            		$("#result").val(result.msg);
            	}else{
            		alert(result.msg);
            	}
              
            }
        }); 		
	})
</script>
</body>

</html>